//-----------品牌色---------
//应用场景:按钮
//待扩充
@primary: #462874;
@primary-1: lighten(@Rs6, 7%);
@primary-2: lighten(@Rs6, 10%);
@primary-3: lighten(@Rs6, -10%);
@primary-font: @white;

//表单 hover  active颜色
@form-hover: lighten(@primary, 22%);
@form-active: darken(@primary, 5%);
@form-border: @neutral-gray-6;

//按钮 hover active颜色
@btn-hover: lighten(@primary, 10%);
@btn-active: darken(@primary, 15%);

//选中颜色
@select-color: fade(@Rs6, 10%);
@select-font-color: @Rs5;
@select-hover: @neutral-gray-1;

//禁用状态
@disabled-color: fade(#000, 30%);
@disabled-bg: fadein(hsla(221, 100%, 61%, 0.3), 0);

//组件整体背景

@component-background: @white;

//-----------功能色---------
//应用场景:提示信息
//待扩充
@fun-danger: @red-5;
@fun-success: @green-6;
@fun-warm: @gold-6;
@fun-default: #fff;

@font-family-sans-serif: -apple-system, PingFangSC-Regular, Helvetica,
  Source Han Sans CN, OPPO Sans, BlinkMacSystemFont, "Segoe UI", Roboto,
  "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
  "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
@font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
  "Liberation Mono", "Courier New", monospace;
@font-family-base: @font-family-sans-serif;

// 字体大小
@font-size-base: 14px; // Assumes the browser default, typically `14px`
@font-size-lg: 1rem;
@font-size-md: 1rem;
@font-size-sm: 0.75rem;
@font-size-root: null;

//form 基础元素大小尺寸
@height-size-lg: 48px;
@height-size-md: 40px;
@height-size-base: 32px;
@height-size-sm: 24px;

//图标大小尺寸
@icon-size-lg: 36px;
@icon-size-md: 32px;
@icon-size-base: 24px;
@icon-size-sm: 20px;

//
@font-weight-lighter: lighter;
@font-weight-light: 300;
@font-weight-normal: 400;
@font-weight-bold: 700;
@font-weight-bolder: bolder;
@font-weight-base: @font-weight-normal;

// 行高
@line-height-base: 1.5;
@line-height-lg: 2;
@line-height-sm: 1.25;

// 标题大小
@h1-font-size: @font-size-base * 2.5;
@h2-font-size: @font-size-base * 2;
@h3-font-size: @font-size-base * 1.75;
@h4-font-size: @font-size-base * 1.5;
@h5-font-size: @font-size-base * 1.25;
@h6-font-size: @font-size-base;

// body
@body-bg: @neutral-gray-1;
@body-color: @neutral-gray-9;
@body-text-align: null;

// Spacing
@spacer: 1rem;

@headings-margin-bottom: @spacer / 2;
@headings-font-family: null;
@headings-font-style: null;
@headings-font-weight: 500;
@headings-line-height: 1.2;
@headings-color: null;

// Paragraphs

@paragraph-margin-bottom: 1rem;

// 字体其他部分 heading list hr 等等
@headings-margin-bottom: @spacer / 2;
@headings-font-family: null;
@headings-font-style: null;
@headings-font-weight: 500;
@headings-line-height: 1.2;
@headings-color: null;

@display1-size: 6rem;
@display2-size: 5.5rem;
@display3-size: 4.5rem;
@display4-size: 3.5rem;

@display1-weight: 300;
@display2-weight: 300;
@display3-weight: 300;
@display4-weight: 300;
@display-line-height: @headings-line-height;

@lead-font-size: @font-size-base * 1.25;
@lead-font-weight: 300;

@small-font-size: 0.875em;

@sub-sup-font-size: 0.75em;

@text-muted: @neutral-gray-6;

@initialism-font-size: @small-font-size;

@blockquote-small-color: @neutral-gray-6;
@blockquote-small-font-size: @small-font-size;
@blockquote-font-size: @font-size-base * 1.25;

@hr-color: inherit;
@hr-height: 1px;
@hr-opacity: 0.25;

@legend-margin-bottom: 0.5rem;
@legend-font-size: 1.5rem;
@legend-font-weight: null;

@mark-padding: 0.2em;

@dt-font-weight: @font-weight-bold;

@nested-kbd-font-weight: @font-weight-bold;

@list-inline-padding: 0.5rem;

@mark-bg: #fcf8e3;

@hr-margin-y: @spacer;

// Code

@code-font-size: @small-font-size;
@code-color: @magenta-6;
@pre-color: null;

// options 可配置选项
@enable-pointer-cursor-for-buttons: true;

// 链接
@link-color: @Rs6;
@link-decoration: none;
@link-hover-color: @Rs5;
@link-hover-decoration: underline;
@link-active-color: @Rs7;

// 边框 和 border radius

@border-width: 1px;
@border-color: @neutral-gray-3;

@border-radius: 2px;
@border-radius-lg: 2px;
@border-radius-md: 2px;
@border-radius-sm: 2px;

// 不同类型的 box shadow
@box-shadow-sm: 0px 2px 6px 0px;
@box-shadow: 0px 4px 10px 0px;
@box-shadow-lg: 0px 16px 30px 0px;
@box-shadow-inset: inset 0 1px 2px;

// Progress bars

@progress-font-size: @font-size-base * 0.75;
@progress-bg: @neutral-gray-2;
@progress-border-radius: @border-radius;
@progress-bar-color: @neutral-gray-1;
@progress-bar-transition: width 0.6s ease;

// 覆盖ant变量
@primary-color: @primary;